package com.ctshk.rpc.order.season.service;

import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.order.season.dto.SeasonOrderPayDTO;
import com.ctshk.rpc.order.season.dto.SeasonProductOrderShipDTO;

import java.util.List;

/**
 * <p>
 * 套票-订单-船票订单 服务类
 * </p>
 *
 * @author 杨林
 * @since 2021-03-24
 */
public interface ISeasonProductOrderShipService  {

    
    /* @MethodName: 保存船票订单信息
     * @Description: TODO
     * @Param: 
     * @Return: 
     * @Author: 杨林
     * @Date:2021/3/25 9:38
    **/
    void saveShipProduct(List<SeasonProductOrderShipDTO> shipList, Long userId, Long id);

    
    /* @MethodName: 获取船票订单信息
     * @Description: TODO
     * @Param: 
     * @Return: 
     * @Author: 杨林
     * @Date:2021/3/30 16:43
    **/
    List<SeasonProductOrderShipDTO> getOrderShipList(Long id);

    /* @MethodName: 船票下供应商 预订单
     * @Description: TODO
     * @Param: 
     * @Return: 
     * @Author: 杨林
     * @Date:2021/4/7 17:19
    **/
    void playSupplierOrder(Long orderId, TokenUser user);

    /* @MethodName: 更改确认状态
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/14 10:57
     **/
    void changeAffirmState(Long orderId, Integer isAffirm);

    void changeCancelOrderState(Long orderId, Integer cancelStatus);

    /* @MethodName: 固定套票 下单 走内部挂账的
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/21 13:55
     **/
    void playInternalOrder(Long orderId, TokenUser user);

    void playShipOrder(Long orderId, TokenUser user, List<SeasonOrderPayDTO> payList);
}
